package com.business.business.web.service;

import cn.hutool.json.JSONObject;
import com.business.business.common.base.BaseService;
import com.business.business.support.model.RespEntity;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class BusinessHandleService extends BaseService {

    private static final Logger logger = LoggerFactory.getLogger(BusinessHandleService.class);


    @Async
    public RespEntity updateOrgId(JSONObject jsonParam,String orgIds) {

        return fireFightingiotForToken(jsonParam.put("orgIds", orgIds), "firefightingiot", "updateOrgId", "device","post");
    }


}
